import { POST } from '@/services/request.js'

export default {
    productIndex(data = {}) {
        return POST({
            url: '/product/index',
            params: data
        })
    },
    productType(data = {}) {
        return POST({
            url: '/product/type',
            params: data
        })
    },
    productLists(data = {}) {
        return POST({
            url: '/product/lists',
            params: data
        })
    },
    productInfo(data = {}) {
        return POST({
            url: '/product/info',
            params: data
        })
    },
    productCollect(data = {}) {
        return POST({
            url: '/product/collect',
            params: data
        })
    },
    productAttrslist(data = {}) {
        return POST({
            url: '/product/attrslist',
            params: data
        })
    },
    productRanking(data = {}) {
        return POST({
            url: '/product/ranking',
            params: data
        })
    },
}